package com.isorf.service;

import com.github.pagehelper.PageInfo;
import com.isorf.pojo.color;
import com.isorf.pojo.links;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface colorservice {

    Boolean updatecolor(color color);

    Boolean addcolor(color color);

    PageInfo<color> pageList(int pageNum, int pageSize);

    Boolean batchDelete(List<Integer> ids);

    Boolean deletecolor(Integer colorId);

    List<color> getallcolor();
}
